package request

import (
	"gitee.com/cjsn/topsdk/ability654/domain"
	"gitee.com/cjsn/topsdk/util"
)

type TmallWorkcardIdentifyRequest struct {
	/*
	   核销dto     */
	VerifyRequestDTO *domain.TmallWorkcardIdentifyVerifyRequestDto `json:"verify_request_d_t_o,omitempty" required:"false" `
}

func (s *TmallWorkcardIdentifyRequest) SetVerifyRequestDTO(v domain.TmallWorkcardIdentifyVerifyRequestDto) *TmallWorkcardIdentifyRequest {
	s.VerifyRequestDTO = &v
	return s
}

func (req *TmallWorkcardIdentifyRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.VerifyRequestDTO != nil {
		paramMap["verify_request_d_t_o"] = util.ConvertStruct(*req.VerifyRequestDTO)
	}
	return paramMap
}

func (req *TmallWorkcardIdentifyRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
